package sf.dsl.example;

import sf.database.dialect.DBDialect;
import sf.database.jdbc.sql.SQLParameter;

import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;

/**
 * 通用条件接口
 */
public interface ICondition {
    void toSql(StringBuilder sb, List<SQLParameter> list, AtomicBoolean mustTableAlias, DBDialect dialect);

    default SimpleTable getTable() {
        return null;
    }
}
